/**
 * Created by 二更 on 2017/5/22.
 */
$(function(){
    $('.numberPrice').on('tap',function(){
        $(this).addClass('numberPrice_active');
        $(this).siblings().removeClass('numberPrice_active');
    });
    // typr=0 普通会员
    // typr= 1 VIP会员
    numberType(0)
});

function numberType(type){
    if(type==1){
        $('.number_type').css('background','url(../../images/number_manage/vip_bg_vip_default@2x.png)center no-repeat');
        $('.number_type').css('backgroundSize','7.38rem 3.2rem');
        $('.VIPNumber').show();
        $('.pay_button').find('input').val('续费');
    }
    if(type==0){

        $('.number_type').css('background','url(../../images/number_manage/vip_bg_nonmal_default@2x.png)center no-repeat');
        $('.number_type').css('backgroundSize','7.38rem 3.2rem');
        $('.putongNumber').show();
    }
}
